package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_logistics")
public class Logistics extends Model<Logistics> {

    private static final long serialVersionUID=1L;

    private String logisticsId;

    private String logisticsName;

    private String principal;

    private String logisticsContact;

    private String area;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date joinTime;

    private BigDecimal price;

    private String remarks;

    private String createId;

    private Date createTime;

    private String updateId;

    private Date updateTime;

    private String companyId;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
